﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserModify.aspx.cs" Inherits="SME.Food.Tricon.Web.AdminJS.UserManege.UserModify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<div class="pageContent" height="700px">
    <form method="post" id="UserModify" action="UserManage/UserH.aspx?type=modify" class="pageForm required-validate"
    onsubmit="return validateCallback(this, dialogAjaxDone);">
    <input name="hid" type="hidden" value="<%=hid %>" />
    <div class="pageFormContent" layouth="56">
        <p>
            <label>
                用户编号：</label>
            <input name="User_No" type="text" size="20" value="<%=User_No%>" readonly="readonly" />
            
        </p>
        <p>
            <label>
                用户名：</label>
            <input name="User_Name" type="text" size="20" class="required" value="<%=User_Name%>"
                maxlength='20' onkeyup="inputNum(this,20,'errorname1')" />
            <span id="Span1" generated="true" class="error" style="margin-left: 25px; display: none">
                不得超过20个字符</span>
        </p>
        <p>
            <label>
                密码：</label>
            <input name="User_PassWord" type="password"  size="20" class="required" value="<%=User_PassWord%>"
                maxlength='20' onkeyup="inputNum(this,20,'errorname1')" />
            <span id="Span2" generated="true" class="error" style="margin-left: 25px; display: none">
                不得超过20个字符</span>
        </p>

         <p>
            <label>
                员工：</label>
            <input type="hidden" name="mLookup.MemNo" class="required" value="<%=Mem_No %>">
            <input type="text" class="textInput readonly"  name="mLookup.MemName" value="<%=Mem_Name %>"  >
            <a class="btnLook" width="576" height="320" href="UserManage/MemberListLookUp.aspx"
                rel="MemberListLookUp" lookupgroup="mLookup"></a>
        </p>      
                
        <p>
            <label>权限:</label>
           <select  name="PowerSelect">
               <option value="0" <%=PowerSelect=="0"?"selected":"" %> >管理员</option>
               <option value="1" <%=PowerSelect=="1"?"selected":"" %> >普通用户</option>
           </select>
           
        </p>
    </div>
    <div class="formBar">
        <ul>
            <li >
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
